<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>苍穹跃龙</title>
    <link type="text/css" rel="stylesheet" href="${base}/css/bootstrap.min.css"/>
    <link type="text/css" rel="stylesheet" href="${base}/css/redmond/jquery-ui.min.css"/>
    <link type="text/css" rel="stylesheet" href="${base}/plugs/jsoneditor/jsoneditor.min.css"/>
    <link type="text/css" rel="stylesheet" href="${base}/css/jTree.css"/>
    <link type="text/css" rel="stylesheet" href="${base}/css/public.css"/>
    <link type="text/css" rel="stylesheet" href="${base}/system/css/index.css"/>
    <script type="text/javascript" src="${base}/js/jquery.js"></script>
    <script type="text/javascript" src="${base}/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="${base}/js/jquery-ui.js"></script>
    <script type="text/javascript" src="${base}/js/json2.js"></script>
    <script type="text/javascript" src="${base}/js/jTree.js"></script>
    <script type="text/javascript" src="${base}/js/login.js"></script>
    <script type="text/javascript" src="${base}/js/xheditor.js"></script>
    <script type="text/javascript" src="${base}/js/xheditor_lang/zh-cn.js"></script>
    <script type="text/javascript" src="${base}/plugs/jsoneditor/jsoneditor.min.js"></script>
    <script type="text/javascript" src="${base}/js/codeMsg.js"></script>
    <script type="text/javascript" src="${base}/js/public.js"></script>
    <script type="text/javascript" src="${base}/system/js/index.js"></script>
    <script type="text/javascript" src="${base}/js/long-dict.js"></script>
    <script type="text/javascript" src="${base}/js/long-edit.js"></script>
</head>
<body>
<div class="container-fluid pannel">
    <form class="login" name="userLogin">
        <div class="form-group input-group">
            <span class="input-group-addon">用户名</span >
            <input class="form-control" placeholder="用户名" type="text" name="userName" id="userName" autofocus regx="^[\w\d]{3,20}$" warm="请输入正确用户名！"/>
        </div>
        <div class="form-group input-group">
            <span class="input-group-addon">密　码</span>
            <input class="form-control" placeholder="密码" type="password" name="password" id="password" md5 warm="请输入密码！"/>
        </div>
        <div class="form-group input-group">
            <span class="input-group-addon">验证码</span>
            <input class="form-control" placeholder="验证码" type="text" name="captcha" id="captcha" class="captcha" maxlength="4" regx="^[\w\d]{4}$"
                   warm="请输入正验证码！"/>
            <span class="input-group-addon"><img src="" alt="验证码" title="点击刷新验证码" onClick="login.fleshCaptcha()" id="captchaimg"/></span>
        </div>
        <div class="form-group text-center">
            <button class="btn btn-default" type="button" onClick="login.submit()">登　录</button>
            <button class="btn btn-default col-sm-offset-1" type="button" onClick="login.reset()">重　置</button>
        </div>
    </form>
    <div class="row head">
        <div class="navbar-header">
            <div class="master navbar-brand">${global.option.master.name_cn}</div>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="menu nav navbar-nav">
            [#list menus as menu]
                <li class="dropdown" mid="${menu._id}" parentId="${menu.parentId}" id="menu-${menu_index}">
                    <a id="menu-a-${menu_index}" href="#" class="dropdown-toggle" data-toggle="dropdown"
                       onclick="loadChildMenu(this,'${menu.url}','.main')">${menu.name}</a>
                </li>
            [/#list]
            </ul>
            <ul class="navuser nav navbar-nav navbar-right" id="navuser">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">${Session.user.name}<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="javascript:void(0)"
                               onClick="LC.goPage('Myinfo.do','.main')">${Session.user.name}</a></li>
                        <li><a href="logout.do">退出</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
    <div id="main" class="main"></div>
    <div class="footpanel">后台登录<span>1</span></div>
</div>
</body>
</html>
